package com.lywz.biz.dao;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.lywz.core.dao.LYWZSession;
import com.lywz.core.dao.impl.HibernateSessionImpl;

/**
 * DAO对象的父亲类
 * 
 * @author Lionel pang
 * @date 2010-3-21
 */
public abstract class AbatractDao extends HibernateDaoSupport {

//    protected LYWZSession session = SeviceSessionFactory.openCurSession();
    
    protected LYWZSession session = new HibernateSessionImpl(getSession()); //lywSeviceSessionFactory.openCurSession();
}
